package mh.demo.other.jackson.JsonSerialize;


import java.time.LocalDateTime;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class JsonSerializeBean {

    public String name;

    @JsonSerialize(using = CustomLocalDateSerializer.class)
    public LocalDateTime eventDate;

    public JsonSerializeBean(String name, LocalDateTime evenDate) {
        this.name = name;
        this.eventDate = evenDate;
    }
}
